<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			let a = "12321";
			const checkPalindrom = (str) => {  
				console.log(str == str.split("").reverse().join(""))
			    return str == str.split("").reverse().join("");
			}
			checkPalindrom(a);
		</script>
	</body>
</html>
